package cn.yitun.chat.yitunserverimapicore.business.contact.service;

import cn.yitun.chat.yitunservercommonlib.crud.yitun.CrudService;
import cn.yitun.chat.yitunservercommonlib.dataentity.dto.contact.ContactAddApplyDto;
import cn.yitun.chat.yitunservercommonlib.dataentity.po.contact.ContactAddApplyInfo;
import cn.yitun.chat.yitunservercommonlib.dataentity.vo.contact.ContactAddApplyVo;

import java.util.List;

/**
 * Date 2019-01-20 22:30:07<br>
 * Description
 *
 * @author yitun<br>
 * @version 1.1
 */
public interface ContactAddApplyService
		extends CrudService<ContactAddApplyDto, ContactAddApplyInfo, ContactAddApplyVo>{

	/**
	 * 
	 * Date 2019-01-20 22:32:52<br>
	 * Description 获取用户被请求添加的列表
	 * 
	 * @param targetUserId
	 * @return
	 * @author yitun<br>
	 * @version 1.1
	 */
	List<ContactAddApplyVo> getListByTargetUserId(Long targetUserId, int pageNo, int pageSize);

	List<ContactAddApplyVo> queryList(ContactAddApplyDto query);

}
